﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using JXT.PrimaryKey.Batman.Core.WcfService;

namespace JXT.PrimaryKey.Batman.WcfService.Client
{
    public static class WcfClientExtensions {
        public static WebHttpErrorCode ToErrorCode(this int code) {
            return (WebHttpErrorCode)code;
        }

        public static HttpStatusCode ToHttptatusCode(this int code) {
            return (HttpStatusCode)code;
        }
    }
}
